<?php
class IndexController extends Zend_Controller_Action
{	

	function init() //__construct 代替初始化函数
    {
        $this->registry = Zend_Registry::getInstance();
        $this->view = $this->registry['view'];
        $this->view->baseUrl = $this->_request->getBaseUrl();
            
    }
    
	/*
	 * Action(动作)!
	 */
	function indexAction() 
    { 
      	 echo "default!!!";
    } 
    

	/*
	 * Action(动作)!
	 */
	function aaaAction() 
    { 
      	echo "default_aaa";
    }
	
	
}
	
	
	